package com.qilu.pe.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.qilu.pe.R;
import com.qilu.pe.base.Base2Activity;

// 报告解读
public class ReportExplainActivity extends Base2Activity {
    private ImageView iv_1, iv_2, iv_3, iv_4;

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_report_explain;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        iv_1 = findViewById(R.id.iv_1);
        iv_2 = findViewById(R.id.iv_2);
        iv_3 = findViewById(R.id.iv_3);
        iv_4 = findViewById(R.id.iv_4);

        setOnClickListener(iv_1, iv_2, iv_3, iv_4);

        setHeadTitle("报告解读");
    }

    @Override
    public void onClick(View v) {
        super.onClick(v);
        if (v == iv_1) {// 检验状态
            startActivity(TestStatusActivity.class);
        }
        if (v == iv_2) {// 报告查看
            startActivity(ReportCheckActivity.class);
        }
        if (v == iv_3) {// 专家解读
            startActivity(ExpertExplainActivity.class);
        }
        if (v == iv_4) {// AI解读
            startActivity(AiExplainActivity.class);
        }
    }
}